package java59_031722;

import java.util.Scanner;

public class fifth {
	public static void main(String[] args) {
		System.out.println("请输入圆形的半径");
		Scanner input = new Scanner(System.in);
		double R = input.nextDouble();
		System.out.println("圆的半径为：" + R);
		double C = 2 * Math.PI * R;
		double S = Math.PI * R * R;
		System.out.println("该圆的周长为：" + C);
		System.out.println("该圆的面积为：" + S);
	}
}
